package com.lu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lu.model.entity.SysMechantTypes;

import java.util.List;

/**
 * <p>
 * 商户分类 服务类
 * </p>
 *
 * @author zhanglu
 * @since 2022-09-19
 */
public interface SysMechantTypesService extends IService<SysMechantTypes> {

    /**
     * 树型结构
     * @param pid
     * @return
     */
    List<SysMechantTypes.TreeNodes> getListByPid(Long pid);

    SysMechantTypes add(SysMechantTypes mechantTypes);

    SysMechantTypes updateSysMechantTypes(SysMechantTypes mechantTypes);

}
